Repository navigation
Glossary: letters as chapters, a search panel beside the terms, and references linked to the terms that cite them - #1189
Conversation
…rence list - Hub: on wide screens the search, view toggle and letters sit in a pale green panel beside the title that stays in view; each letter is a large Newsreader letter on the education area's pale ground, beside its terms from 1240 px; term cards are white with a thin border. - Term pages: related terms are cards with the start of each definition; references get a heading and a panel; previous and next are cards with the start of their definitions. - References: laid out as the hub, with search, letters and A-Z groups, and a "Cited in" line linking the English terms that cite each reference. The list is rendered from apa_lookup.json by the template, so _build_references.py now writes only the title and introduction. - DESIGN.md §4: related terms with previews may be cards; dense term lists break into chapters under large letters. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
👍 All image files/references (if any) are in webp format, in line with our policy. |
📝 Spell Check ResultsFound 1 potential spelling issue(s) when checking 8 changed file(s): 📄
|
| Line | Issue |
|---|---|
| 8 | passt ==> past, passed |
ℹ️ How to address these issues:
- Fix the typo: If it's a genuine typo, please correct it.
- Add to whitelist: If it's a valid word (e.g., a name, technical term), add it to
.codespell-ignore.txt - False positive: If this is a false positive, please report it in the PR comments.
🤖 This check was performed by codespell
There was a problem hiding this comment.
All reported issues were addressed across 8 files
Reply with feedback, questions, or to request a fix.
View guided diff | Turn on auto-fix | Re-trigger cubic
…s stay 18 px) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rated references page as main has it The references page renders from its partial, so the generated body can wait for the next data run. The source-rules check now lets a generator script beside its output change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…er measure Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
All reported issues were addressed across 3 files (changes from recent commits).
Reply with feedback, questions, or to request a fix.
View guided diff | Turn on auto-fix | Re-trigger cubic
…very script there Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… cards Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
All reported issues were addressed across 2 files (changes from recent commits).
Reply with feedback, questions, or to request a fix.
View guided diff | Turn on auto-fix | Re-trigger cubic
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Related terms without a page: a labelled line ("Not yet in the glossary:"), not chips that look like the language links
- The index's disclosure is "About the glossary project"; the lede's link already says how to cite
- Previous/next snippets end in an ellipsis inside the card's two lines
- References on a term page: hanging indent, no bullet before a single entry
- The reference list's lede says links appear where the glossary records them
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
DESIGN.md keeps both: the glossary's chapters under large letters and the rule that posts, articles and newsletter issues are cards with their picture. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…review prefix After #1189 the related terms sit in section.term-related as cards, so the parser now tracks whichever element carries that class. Glossary URLs are compared from /glossary/ on, so a build served under /rebrand-doors/ is checked too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…review prefix After #1189 the related terms sit in section.term-related as cards, so the parser now tracks whichever element carries that class. Glossary URLs are compared from /glossary/ on, so a build served under /rebrand-doors/ is checked too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…6 Turkish and German links) (#1197) * Glossary: link related terms to the page in the reader's language Translated titles carry the English name in square brackets only when they do not already contain the English words, so pages such as Turkish 'Ödeme Duvarı (Paywall)' were found only under their English page. Index every page by its en_title too. Adds check 23 to check_seo_html.py. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Check 23 follows the redesigned related-terms section and ignores a preview prefix After #1189 the related terms sit in section.term-related as cards, so the parser now tracks whichever element carries that class. Glossary URLs are compared from /glossary/ on, so a build served under /rebrand-doors/ is checked too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
The glossary hub was 260 near-identical grey cards with small letter headings, so a long scroll had no landmarks. Term pages listed related terms as a run of links, and the List of References was one long block of citations with a note saying cross-linking to terms was still to come. This PR gives the glossary landmarks and links its references to the terms that cite them.
What changes for visitors
layouts/partials/doors/glossary_references.html).apa_lookup.json.layouts/glossary/single.htmlby folder, not by front matter, becausecontent/glossary/ships frommainthrough the data artifact. The page works with either the old or the new generated body._build_references.pynow writes only the title and the intro sentence, and the template renders the list fromapa_lookup.json. Re-running it drops the "We are currently working on a better way…" note, so the page's meta description is now just the intro sentence.site.js: the hub script also runs on the references page, which has no view toggle or About box. The count line takes its wording from the page; that change is copied word for word from Glossary: Chinese term pages and the Arabic hub label themselves in their language #1159, so the two PRs merge cleanly there.Before and after
Glossary hub, top
Glossary hub, scrolled
Term page (p-hacking)
List of References
Checks
check_seo_html.py: all checks pass.compare_builds.py: no paths added or removed. The one changed SEO tag is the references page's description, which loses the "currently working on" sentence.scripts/testsandtest_parse_disciplines_gdoc.py) pass.idon the references page is unique.Created with Claude Opus 5.5 in Claude Code.
After CI
content/glossary/references/index.mdis back as main has it; only its generator changes here. The page renders from its partial, so it looks the same either way, and the next data run writes the new body.check_source_rules.pynow lets a generator script beside its output (content/glossary/*.py) change.🤖 Generated with Claude Code
Summary by cubic
Reworks the glossary so a long run of terms reads as chapters, keeps search and letter navigation in a sticky panel beside the title on wide screens, and links the List of References to the English terms that cite them.
Glossary hub and term pages
List of References
apa_lookup.jsonby the template, so_build_references.pynow writes only the title and intro; re-running it drops the "currently working on a better way" note.Checks
main's body until the next data run; the source-rules check now names the two glossary generator scripts instead of exempting every script in that folder.Written for commit 53b7fa2. Summary will update on new commits.